package com.wenwu.common.bean;

import java.util.ArrayList;
import java.util.List;

public class RelicsAudioVisualExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RelicsAudioVisualExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAudioIdIsNull() {
            addCriterion("audio_id is null");
            return (Criteria) this;
        }

        public Criteria andAudioIdIsNotNull() {
            addCriterion("audio_id is not null");
            return (Criteria) this;
        }

        public Criteria andAudioIdEqualTo(Integer value) {
            addCriterion("audio_id =", value, "audioId");
            return (Criteria) this;
        }

        public Criteria andAudioIdNotEqualTo(Integer value) {
            addCriterion("audio_id <>", value, "audioId");
            return (Criteria) this;
        }

        public Criteria andAudioIdGreaterThan(Integer value) {
            addCriterion("audio_id >", value, "audioId");
            return (Criteria) this;
        }

        public Criteria andAudioIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("audio_id >=", value, "audioId");
            return (Criteria) this;
        }

        public Criteria andAudioIdLessThan(Integer value) {
            addCriterion("audio_id <", value, "audioId");
            return (Criteria) this;
        }

        public Criteria andAudioIdLessThanOrEqualTo(Integer value) {
            addCriterion("audio_id <=", value, "audioId");
            return (Criteria) this;
        }

        public Criteria andAudioIdIn(List<Integer> values) {
            addCriterion("audio_id in", values, "audioId");
            return (Criteria) this;
        }

        public Criteria andAudioIdNotIn(List<Integer> values) {
            addCriterion("audio_id not in", values, "audioId");
            return (Criteria) this;
        }

        public Criteria andAudioIdBetween(Integer value1, Integer value2) {
            addCriterion("audio_id between", value1, value2, "audioId");
            return (Criteria) this;
        }

        public Criteria andAudioIdNotBetween(Integer value1, Integer value2) {
            addCriterion("audio_id not between", value1, value2, "audioId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdIsNull() {
            addCriterion("m_relics_id is null");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdIsNotNull() {
            addCriterion("m_relics_id is not null");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdEqualTo(Integer value) {
            addCriterion("m_relics_id =", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdNotEqualTo(Integer value) {
            addCriterion("m_relics_id <>", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdGreaterThan(Integer value) {
            addCriterion("m_relics_id >", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("m_relics_id >=", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdLessThan(Integer value) {
            addCriterion("m_relics_id <", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdLessThanOrEqualTo(Integer value) {
            addCriterion("m_relics_id <=", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdIn(List<Integer> values) {
            addCriterion("m_relics_id in", values, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdNotIn(List<Integer> values) {
            addCriterion("m_relics_id not in", values, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdBetween(Integer value1, Integer value2) {
            addCriterion("m_relics_id between", value1, value2, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("m_relics_id not between", value1, value2, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andAudioNameIsNull() {
            addCriterion("audio_name is null");
            return (Criteria) this;
        }

        public Criteria andAudioNameIsNotNull() {
            addCriterion("audio_name is not null");
            return (Criteria) this;
        }

        public Criteria andAudioNameEqualTo(String value) {
            addCriterion("audio_name =", value, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameNotEqualTo(String value) {
            addCriterion("audio_name <>", value, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameGreaterThan(String value) {
            addCriterion("audio_name >", value, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameGreaterThanOrEqualTo(String value) {
            addCriterion("audio_name >=", value, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameLessThan(String value) {
            addCriterion("audio_name <", value, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameLessThanOrEqualTo(String value) {
            addCriterion("audio_name <=", value, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameLike(String value) {
            addCriterion("audio_name like", value, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameNotLike(String value) {
            addCriterion("audio_name not like", value, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameIn(List<String> values) {
            addCriterion("audio_name in", values, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameNotIn(List<String> values) {
            addCriterion("audio_name not in", values, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameBetween(String value1, String value2) {
            addCriterion("audio_name between", value1, value2, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNameNotBetween(String value1, String value2) {
            addCriterion("audio_name not between", value1, value2, "audioName");
            return (Criteria) this;
        }

        public Criteria andAudioNumIsNull() {
            addCriterion("audio_num is null");
            return (Criteria) this;
        }

        public Criteria andAudioNumIsNotNull() {
            addCriterion("audio_num is not null");
            return (Criteria) this;
        }

        public Criteria andAudioNumEqualTo(String value) {
            addCriterion("audio_num =", value, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumNotEqualTo(String value) {
            addCriterion("audio_num <>", value, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumGreaterThan(String value) {
            addCriterion("audio_num >", value, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumGreaterThanOrEqualTo(String value) {
            addCriterion("audio_num >=", value, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumLessThan(String value) {
            addCriterion("audio_num <", value, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumLessThanOrEqualTo(String value) {
            addCriterion("audio_num <=", value, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumLike(String value) {
            addCriterion("audio_num like", value, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumNotLike(String value) {
            addCriterion("audio_num not like", value, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumIn(List<String> values) {
            addCriterion("audio_num in", values, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumNotIn(List<String> values) {
            addCriterion("audio_num not in", values, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumBetween(String value1, String value2) {
            addCriterion("audio_num between", value1, value2, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioNumNotBetween(String value1, String value2) {
            addCriterion("audio_num not between", value1, value2, "audioNum");
            return (Criteria) this;
        }

        public Criteria andAudioTypeIsNull() {
            addCriterion("audio_type is null");
            return (Criteria) this;
        }

        public Criteria andAudioTypeIsNotNull() {
            addCriterion("audio_type is not null");
            return (Criteria) this;
        }

        public Criteria andAudioTypeEqualTo(String value) {
            addCriterion("audio_type =", value, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeNotEqualTo(String value) {
            addCriterion("audio_type <>", value, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeGreaterThan(String value) {
            addCriterion("audio_type >", value, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeGreaterThanOrEqualTo(String value) {
            addCriterion("audio_type >=", value, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeLessThan(String value) {
            addCriterion("audio_type <", value, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeLessThanOrEqualTo(String value) {
            addCriterion("audio_type <=", value, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeLike(String value) {
            addCriterion("audio_type like", value, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeNotLike(String value) {
            addCriterion("audio_type not like", value, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeIn(List<String> values) {
            addCriterion("audio_type in", values, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeNotIn(List<String> values) {
            addCriterion("audio_type not in", values, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeBetween(String value1, String value2) {
            addCriterion("audio_type between", value1, value2, "audioType");
            return (Criteria) this;
        }

        public Criteria andAudioTypeNotBetween(String value1, String value2) {
            addCriterion("audio_type not between", value1, value2, "audioType");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterIsNull() {
            addCriterion("store_derecter is null");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterIsNotNull() {
            addCriterion("store_derecter is not null");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterEqualTo(String value) {
            addCriterion("store_derecter =", value, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterNotEqualTo(String value) {
            addCriterion("store_derecter <>", value, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterGreaterThan(String value) {
            addCriterion("store_derecter >", value, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterGreaterThanOrEqualTo(String value) {
            addCriterion("store_derecter >=", value, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterLessThan(String value) {
            addCriterion("store_derecter <", value, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterLessThanOrEqualTo(String value) {
            addCriterion("store_derecter <=", value, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterLike(String value) {
            addCriterion("store_derecter like", value, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterNotLike(String value) {
            addCriterion("store_derecter not like", value, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterIn(List<String> values) {
            addCriterion("store_derecter in", values, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterNotIn(List<String> values) {
            addCriterion("store_derecter not in", values, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterBetween(String value1, String value2) {
            addCriterion("store_derecter between", value1, value2, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andStoreDerecterNotBetween(String value1, String value2) {
            addCriterion("store_derecter not between", value1, value2, "storeDerecter");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andEtalonIsNull() {
            addCriterion("etalon is null");
            return (Criteria) this;
        }

        public Criteria andEtalonIsNotNull() {
            addCriterion("etalon is not null");
            return (Criteria) this;
        }

        public Criteria andEtalonEqualTo(String value) {
            addCriterion("etalon =", value, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonNotEqualTo(String value) {
            addCriterion("etalon <>", value, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonGreaterThan(String value) {
            addCriterion("etalon >", value, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonGreaterThanOrEqualTo(String value) {
            addCriterion("etalon >=", value, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonLessThan(String value) {
            addCriterion("etalon <", value, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonLessThanOrEqualTo(String value) {
            addCriterion("etalon <=", value, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonLike(String value) {
            addCriterion("etalon like", value, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonNotLike(String value) {
            addCriterion("etalon not like", value, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonIn(List<String> values) {
            addCriterion("etalon in", values, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonNotIn(List<String> values) {
            addCriterion("etalon not in", values, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonBetween(String value1, String value2) {
            addCriterion("etalon between", value1, value2, "etalon");
            return (Criteria) this;
        }

        public Criteria andEtalonNotBetween(String value1, String value2) {
            addCriterion("etalon not between", value1, value2, "etalon");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentIsNull() {
            addCriterion("save_environment is null");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentIsNotNull() {
            addCriterion("save_environment is not null");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentEqualTo(String value) {
            addCriterion("save_environment =", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentNotEqualTo(String value) {
            addCriterion("save_environment <>", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentGreaterThan(String value) {
            addCriterion("save_environment >", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentGreaterThanOrEqualTo(String value) {
            addCriterion("save_environment >=", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentLessThan(String value) {
            addCriterion("save_environment <", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentLessThanOrEqualTo(String value) {
            addCriterion("save_environment <=", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentLike(String value) {
            addCriterion("save_environment like", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentNotLike(String value) {
            addCriterion("save_environment not like", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentIn(List<String> values) {
            addCriterion("save_environment in", values, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentNotIn(List<String> values) {
            addCriterion("save_environment not in", values, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentBetween(String value1, String value2) {
            addCriterion("save_environment between", value1, value2, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentNotBetween(String value1, String value2) {
            addCriterion("save_environment not between", value1, value2, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andAudioListIsNull() {
            addCriterion("audio_list is null");
            return (Criteria) this;
        }

        public Criteria andAudioListIsNotNull() {
            addCriterion("audio_list is not null");
            return (Criteria) this;
        }

        public Criteria andAudioListEqualTo(String value) {
            addCriterion("audio_list =", value, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListNotEqualTo(String value) {
            addCriterion("audio_list <>", value, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListGreaterThan(String value) {
            addCriterion("audio_list >", value, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListGreaterThanOrEqualTo(String value) {
            addCriterion("audio_list >=", value, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListLessThan(String value) {
            addCriterion("audio_list <", value, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListLessThanOrEqualTo(String value) {
            addCriterion("audio_list <=", value, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListLike(String value) {
            addCriterion("audio_list like", value, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListNotLike(String value) {
            addCriterion("audio_list not like", value, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListIn(List<String> values) {
            addCriterion("audio_list in", values, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListNotIn(List<String> values) {
            addCriterion("audio_list not in", values, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListBetween(String value1, String value2) {
            addCriterion("audio_list between", value1, value2, "audioList");
            return (Criteria) this;
        }

        public Criteria andAudioListNotBetween(String value1, String value2) {
            addCriterion("audio_list not between", value1, value2, "audioList");
            return (Criteria) this;
        }

        public Criteria andCommonIsNull() {
            addCriterion("common is null");
            return (Criteria) this;
        }

        public Criteria andCommonIsNotNull() {
            addCriterion("common is not null");
            return (Criteria) this;
        }

        public Criteria andCommonEqualTo(String value) {
            addCriterion("common =", value, "common");
            return (Criteria) this;
        }

        public Criteria andCommonNotEqualTo(String value) {
            addCriterion("common <>", value, "common");
            return (Criteria) this;
        }

        public Criteria andCommonGreaterThan(String value) {
            addCriterion("common >", value, "common");
            return (Criteria) this;
        }

        public Criteria andCommonGreaterThanOrEqualTo(String value) {
            addCriterion("common >=", value, "common");
            return (Criteria) this;
        }

        public Criteria andCommonLessThan(String value) {
            addCriterion("common <", value, "common");
            return (Criteria) this;
        }

        public Criteria andCommonLessThanOrEqualTo(String value) {
            addCriterion("common <=", value, "common");
            return (Criteria) this;
        }

        public Criteria andCommonLike(String value) {
            addCriterion("common like", value, "common");
            return (Criteria) this;
        }

        public Criteria andCommonNotLike(String value) {
            addCriterion("common not like", value, "common");
            return (Criteria) this;
        }

        public Criteria andCommonIn(List<String> values) {
            addCriterion("common in", values, "common");
            return (Criteria) this;
        }

        public Criteria andCommonNotIn(List<String> values) {
            addCriterion("common not in", values, "common");
            return (Criteria) this;
        }

        public Criteria andCommonBetween(String value1, String value2) {
            addCriterion("common between", value1, value2, "common");
            return (Criteria) this;
        }

        public Criteria andCommonNotBetween(String value1, String value2) {
            addCriterion("common not between", value1, value2, "common");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}